﻿// owner 蒋家伟

#pragma once
#include "IDeviceRegisterHelper.h"

namespace jsdk
{
    // 设备管理器
    class  DeviceRegisterHelper : public IDeviceRegisterHelper
    {
    public:
        static DeviceRegisterHelper* get();
        std::vector<DeviceCreatorFunc> transOwnerShipCreators();

    private:
        DeviceRegisterHelper() {}
        virtual bool registerCreator(DeviceCreatorFunc creator) override;
        std::vector<DeviceCreatorFunc> m_deviceCreators;
    };
}
